package mythread.demo001;

public class MyThread10 extends Thread {


    @Override
    public void run() {
        try {
            System.out.println("run begin-" + this.currentThread().getName());
            Thread.sleep(2000);
            System.out.println("run end-" + Thread.currentThread().getName());
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}
